package com.xuecheng.orders.domain.model.vo.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-09-12  21:05
 */
@Data
public class OrderCreateCmd {

    /**
     * 外部系统业务id
     */
    @NotNull
    private Long outBusinessId;

    @NotEmpty
    private String orderDescrip;

    @NotEmpty
    private String orderDetail;

    @NotEmpty
    private String orderName;

    @NotEmpty
    private String orderType;

    @NotNull
    private Float totalPrice;
}
